package com.xyazm.user.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xyazm.common.domain.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 后台用户角色表
 * </p>
 *
 * @author xuyou
 * @since 2022-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "UserRole对象", description = "后台用户角色表")
@TableName("user_role")
public class UserRoleDO extends BaseDO implements Serializable {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "后台用户数量")
    @TableField("admin_count")
    private Integer adminCount;

    @ApiModelProperty(value = "启用状态：1->启用；2->禁用")
    private Integer status;

    private Integer sort;


}
